package com.xayy.mgt.mapper;

import cn.kawins.mybatis.BaseMapper;
import com.xayy.mgt.model.NodeParamInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.Map;

@Mapper
@Component
public interface NodeParamInfoMapper extends BaseMapper<NodeParamInfo> {

    /**
     * 查询时间点的参数
     * @param params 查询参数
     * @param healthTime 时间
     * @param table 表名
     * @return Map
     */
    Map<String, Object> selectParam(@Param("params") String params,@Param("healthTime") Date healthTime,@Param("table") String table,@Param("satelliteCode") String satelliteCode);
}
